package com.startasone.service;

import com.startasone.pojo.Dept;
import com.startasone.pojo.Emp;
import com.startasone.pojo.PageBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;


public interface EmpService {
    PageBean getByPage(Integer page, Integer pageSize, String name, Short gender, LocalDate start, LocalDate end);

    public void delete(List<Integer> ids);

    public void insert(Emp emp);

    public Emp getById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);
}
